package ar.edu.unq.wannaplay.dtos;

import java.io.Serializable;

import ar.edu.unq.wannaplay.client.Client;

public class ClientDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private int id;

    private String name;

    private String email;

    private String address;

    private String town;

    public ClientDTO() {
        super();
    }

    public ClientDTO(final Client client) {
        id = client.getId();
        name = client.getName();
        email = client.getEmail();
        address = client.getAddress();
        town = client.getTown();
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(final String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(final String address) {
        this.address = address;
    }

    public String getTown() {
        return town;
    }

    public void setTown(final String town) {
        this.town = town;
    }

    public int getId() {
        return id;
    }

    public void setId(final int id) {
        this.id = id;
    }

}
